<template>
  <van-tabs v-model:active="active" sticky>
    <van-tab title="商品">
        <!-- type 查询商品展示 -->
      <CollectList :type="1"></CollectList>
    </van-tab>
    <van-tab title="文章">
      <CollectList :type="2"></CollectList>
    </van-tab>
  </van-tabs>
</template>

<script setup>
import { ref } from "vue";

let active = ref(0);
</script>